var scatterploygn1 = [];
var scatterploygn21 = [];
var scatterploygn22 = [];
var scatterploygn3 = [];
var scatterploygn4 = [];

var scatterZ = [];

function initdata() {

    // for(var i = 3;i<234;i+= 4.5)
    // {
    //     scatterZ.push(i);
    // }
    
    if(g_bigFloorBoardMPolygons.children.length == 54)
    {
    
        for(var i = 0;i<g_bigFloorBoardMPolygons.children.length;i++)
        {
            var temp = [];
            temp.push(g_bigFloorBoardMPolygons.children[i].name);
            temp.push(g_bigFloorBoardMPolygons.children[i].geometry.boundingSphere.center.z);
            var randomnum = Math.ceil(Math.random()*10)%4;
            temp.push(randomnum);
            scatterZ.push(temp);
        }
        scatterploygn1.push([135.5990999695, 31.0927000064]);
        scatterploygn1.push([ 135.5991406012, 31.0926709143]);
        scatterploygn1.push([ 156.2387000378, 35.1188999964]);
        scatterploygn1.push([ 165.7841999866, 36.9809999969]);
        scatterploygn1.push([ 163.1618999559, 50.423500001]);
        scatterploygn1.push([ 160.5244000237, 63.9437999935]);
        scatterploygn1.push([ 160.3370000049, 64.9045000034]);
        scatterploygn1.push([ 159.790899979, 64.7978999959]);
        scatterploygn1.push([ 155.1633999534, 66.9518000041]);
        scatterploygn1.push([ 134.1092000157, 62.8447999978]);
        scatterploygn1.push([ 129.0172000453, 113.1875000037]);
        scatterploygn1.push([ 128.5827000346, 114.5533999968]);
        scatterploygn1.push([ 128.0500999466, 116.2279999973]);
        scatterploygn1.push([ 124.4024000149, 127.6965000038]);
        scatterploygn1.push([ 123.4829000197, 130.5874999953]);
        scatterploygn1.push([ 119.0265000556, 144.5988999968]);
        scatterploygn1.push([ 111.1577658542, 146.6259647985]);
        scatterploygn1.push([ 109.1530000083, 147.1424000021]);
        scatterploygn1.push([ 82.8738000244, 153.9122000001]);
        scatterploygn1.push([ 80.4846000001, 132.1161999973]);
        scatterploygn1.push([ 79.702799987, 124.9841000014]);
        scatterploygn1.push([ 78.9801000487, 118.3912000014]);
        scatterploygn1.push([ 73.6722000446, 115.4746999992]);
        scatterploygn1.push([ 73.6721864641, 115.4747077003]);
        scatterploygn1.push([ 70.2490000241, 113.5938000064]);
        scatterploygn1.push([ 66.8366999608, 111.7188999997]);
        scatterploygn1.push([ 63.7793000154, 110.0389999957]);
        scatterploygn1.push([ 60.411500033, 108.188499996]);
        scatterploygn1.push([ 49.6578000002, 102.2796999938]);
        scatterploygn1.push([ 45.9586999621, 100.2472000066]);
        scatterploygn1.push([ 48.2378999684, 96.0991000002]);
        scatterploygn1.push([ 51.5900999736, 89.9983000001]);
        scatterploygn1.push([ 59.6348999776, 75.3569999984]);
        scatterploygn1.push([ 60.1204999741, 75.6236000005]);
        scatterploygn1.push([ 66.1190000493, 75.4965999997]);
        scatterploygn1.push([ 71.2380999699, 78.309299998]);
        scatterploygn1.push([ 65.5117999837, 46.5009000055]);
        scatterploygn1.push([ 65.5697999988, 45.4500999986]);
        scatterploygn1.push([ 65.776999969, 41.695399995]);
        scatterploygn1.push([ 65.9675999749, 38.2399999984]);
        scatterploygn1.push([ 66.1892999765, 34.2219999982]);
        scatterploygn1.push([ 66.3551000077, 31.2168999943]);
        scatterploygn1.push([ 66.4632999897, 29.2560999985]);
        scatterploygn1.push([ 67.3110000286, 13.8935000035]);
        scatterploygn1.push([ 117.3225999586, 12.9409999945]);
        scatterploygn1.push([ 123.0934999883, 28.6531999945]);
        scatterploygn1.push([ 135.5990999695, 31.0927000064]);

        scatterploygn21.push([ 131.1875309236, 30.2321236804]);
        scatterploygn21.push([ 154.9248999488, 34.8627000009]);
        scatterploygn21.push([ 165.7841999866, 36.9809999969]);
        scatterploygn21.push([ 162.6589000523, 53.0017000013]);
        scatterploygn21.push([ 160.3370000049, 64.9045000034]);
        scatterploygn21.push([ 159.790899979, 64.7978999959]);
        scatterploygn21.push([ 155.5352000408, 66.7788000051]);
        scatterploygn21.push([ 70.0774999913, 50.1117999982]);
        scatterploygn21.push([ 69.2112000268, 49.181600003]);
        scatterploygn21.push([ 66.8607999627, 46.6578000039]);
        scatterploygn21.push([ 66.2228999846, 46.5331999962]);
        scatterploygn21.push([ 71.6678999588, 18.6214000047]);
        scatterploygn21.push([ 84.3049999867, 21.0865999996]);
        scatterploygn21.push([ 94.6061000153, 23.095999999]);
        scatterploygn21.push([ 123.0934918616, 28.6531778933]);
        scatterploygn21.push([ 123.0934999883, 28.6531999945]);
        scatterploygn21.push([ 131.1875309236, 30.2321236804]);

        scatterploygn22.push([ 126.2819000427, 110.8363999981]);
        scatterploygn22.push([ 127.3178000394, 112.5460999976]);
        scatterploygn22.push([ 127.855500007, 112.8413999989]);
        scatterploygn22.push([ 114.1789000221, 137.7315000026]);
        scatterploygn22.push([ 108.280199986, 134.490400007]);
        scatterploygn22.push([ 45.9586999621, 100.2472000066]);
        scatterploygn22.push([ 51.814099947, 89.5906000021]);
        scatterploygn22.push([ 59.6348999776, 75.3569999984]);
        scatterploygn22.push([ 60.1204999741, 75.6236000005]);
        scatterploygn22.push([ 62.119699955, 75.5813000044]);
        scatterploygn22.push([ 126.2819000427, 110.8363999981]);

        scatterploygn3.push([ 73.6721790042, 115.4747119416]);
        scatterploygn3.push([ 72.4616999906, 114.8096000017]);
        scatterploygn3.push([ 63.8814999908, 110.0951000061]);
        scatterploygn3.push([ 45.9586999621, 100.2472000066]);
        scatterploygn3.push([ 59.0328000113, 76.4527999926]);
        scatterploygn3.push([ 59.6348999776, 75.3569999984]);
        scatterploygn3.push([ 60.1204999741, 75.6236000005]);
        scatterploygn3.push([ 70.9380999543, 75.3945999956]);
        scatterploygn3.push([ 73.4226000402, 76.7956000054]);
        scatterploygn3.push([ 65.5117999837, 46.5009000055]);
        scatterploygn3.push([ 67.8670000304, 29.2026999947]);
        scatterploygn3.push([ 69.1012999713, 20.1370999976]);
        scatterploygn3.push([ 69.8459000122, 14.668500002]);
        scatterploygn3.push([ 121.1418999992, 26.7868000022]);
        scatterploygn3.push([ 121.3601999674, 28.3150999956]);
        scatterploygn3.push([ 121.9788000416, 28.4358000015]);
        scatterploygn3.push([ 126.0149000213, 29.2230999935]);
        scatterploygn3.push([ 131.8637999482, 30.3641000022]);
        scatterploygn3.push([ 145.5989999585, 33.043400005]);
        scatterploygn3.push([ 153.1061999574, 34.5079000001]);
        scatterploygn3.push([ 165.7841999866, 36.9809999969]);
        scatterploygn3.push([ 163.7752999607, 47.2789000054]);
        scatterploygn3.push([ 160.3370000049, 64.9045000034]);
        scatterploygn3.push([ 159.790899979, 64.7978999959]);
        scatterploygn3.push([ 157.3657999747, 65.9267000002]);
        scatterploygn3.push([ 153.0984000228, 67.9129999951]);
        scatterploygn3.push([ 149.8292000536, 69.4347000048]);
        scatterploygn3.push([ 148.5819000006, 70.0151999979]);
        scatterploygn3.push([ 139.52840003, 68.2494000015]);
        scatterploygn3.push([ 126.7463000212, 65.7564999918]);
        scatterploygn3.push([ 127.2991999984, 77.3046999937]);
        scatterploygn3.push([ 127.8402999993, 88.6059000026]);
        scatterploygn3.push([ 128.4257000349, 100.8320999932]);
        scatterploygn3.push([ 128.6975000408, 106.509000001]);
        scatterploygn3.push([ 128.7604000065, 107.8233000054]);
        scatterploygn3.push([ 129.0112999994, 113.0653000032]);
        scatterploygn3.push([ 129.0172000453, 113.1875000037]);
        scatterploygn3.push([ 121.2756000496, 129.6642000009]);
        scatterploygn3.push([ 115.2903000172, 142.4028999996]);
        scatterploygn3.push([ 86.7152999528, 124.3127000011]);
        scatterploygn3.push([ 86.3605000228, 122.4463999993]);
        scatterploygn3.push([ 80.1363000143, 119.0264999983]);
        scatterploygn3.push([ 78.980101496, 118.3912129314]);
        scatterploygn3.push([ 78.9801000487, 118.3912000014]);
        scatterploygn3.push([ 73.6722000446, 115.4746999992]);
        scatterploygn3.push([ 73.6721790042, 115.4747119416,]);

        scatterploygn4.push([ 164.3394999783, 64.7762999991]);
        scatterploygn4.push([ 134.0950999558, 85.2574000033]);
        scatterploygn4.push([ 128.7321999967, 88.8891000017]);
        scatterploygn4.push([ 111.3377999719, 100.6684000031]);
        scatterploygn4.push([ 115.9212000016, 103.1868999978]);
        scatterploygn4.push([ 118.8058000375, 104.7718999963]);
        scatterploygn4.push([ 124.5045999922, 107.9031999963]);
        scatterploygn4.push([ 126.0197999701, 110.4037999976]);
        scatterploygn4.push([ 127.3178000394, 112.5460999976]);
        scatterploygn4.push([ 127.855500007, 112.8413999989]);
        scatterploygn4.push([ 125.1798000131, 117.7109999969]);
        scatterploygn4.push([ 114.1789000221, 137.7315000026]);
        scatterploygn4.push([ 100.9376999568, 130.4559999956]);
        scatterploygn4.push([ 90.9789000135, 124.9841000014]);
        scatterploygn4.push([ 79.7198000308, 118.7975999997]);
        scatterploygn4.push([ 73.6722000446, 115.4746999992]);
        scatterploygn4.push([ 70.6730000451, 117.1747999946]);
        scatterploygn4.push([ 61.3057000004, 111.2211999963]);
        scatterploygn4.push([ 51.4009000305, 104.9260000018]);
        scatterploygn4.push([ 47.6465554703, 102.5399080194]);
        scatterploygn4.push([ 45.5425999518, 101.2026999961]);
        scatterploygn4.push([ 45.9586999621, 100.2472000066]);
        scatterploygn4.push([ 57.7238645852, 73.2298812796]);
        scatterploygn4.push([ 60.7034704629, 71.4150261846]);
        scatterploygn4.push([ 62.0612629, 70.5880052741]);
        scatterploygn4.push([ 66.4455999695, 67.9176000035]);
        scatterploygn4.push([ 71.8564000372, 64.6219000029]);
        scatterploygn4.push([ 76.4116000552, 61.8473999961]);
        scatterploygn4.push([ 84.2031000163, 57.1017999952]);
        scatterploygn4.push([ 78.0169999935, 55.8951999927]);
        scatterploygn4.push([ 76.8814000357, 55.6737000006]);
        scatterploygn4.push([ 74.8966999725, 55.2865999951]);
        scatterploygn4.push([ 70.1155000124, 50.1526000001]);
        scatterploygn4.push([ 66.8607999627, 46.6578000039]);
        scatterploygn4.push([ 66.2228999846, 46.5331999962]);
        scatterploygn4.push([ 66.402499957, 45.6125999996]);
        scatterploygn4.push([ 67.4303999785, 40.3435000018]);
        scatterploygn4.push([ 69.1059999894, 31.7539999988]);
        scatterploygn4.push([ 69.5430999789, 29.5133000039]);
        scatterploygn4.push([ 71.6678999588, 18.6214000047]);
        scatterploygn4.push([ 84.2795999944, 21.0815999936]);
        scatterploygn4.push([ 98.4417999778, 23.8443000037]);
        scatterploygn4.push([ 110.005299991, 26.0999999964]);
        scatterploygn4.push([ 123.0934955366, 28.6531878118]);
        scatterploygn4.push([ 123.0934999883, 28.6531999945]);
        scatterploygn4.push([ 135.5990999695, 31.0927000064]);
        scatterploygn4.push([ 136.8927000221, 30.1655999995]);
        scatterploygn4.push([ 149.3004918061, 31.6787062758]);
        scatterploygn4.push([ 152.9724000506, 32.1264999942]);
        scatterploygn4.push([ 165.3102000393, 33.6311000045]);
        scatterploygn4.push([ 167.9714999646, 33.9555999958]);
        scatterploygn4.push([ 164.3394999783, 64.7762999991]);
    }
}